package com.core.model;

import com.core.model.user.UserInfo;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;


@Entity
@Table(name = "upload_image")
//@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class UploadImage extends Document {

    public UploadImage() {
    }

    public UploadImage(String name, String contentType, byte[] contents) {
        super(name, contentType, contents);
    }
}
